package com.qfedu.aunt.commons.service;

import com.qfedu.aunt.commons.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.aunt.commons.vo.RoleAddVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-31
 */
public interface RoleService extends IService<Role> {
    /**
     * 查询所有的角色
     * @return
     */
    List<Role> findAllRole();

    /**
     * 添加角色
     * @param roleAddVo
     */
    void addRole(RoleAddVo roleAddVo) throws InvocationTargetException, IllegalAccessException;
}
